package com.charger.domain;

import java.math.BigDecimal;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.charger.common.annotation.Excel;
import com.charger.common.core.domain.BaseEntity;

/**
 * 财务报表对象 charger_financial
 * 
 * @author qkp
 * @date 2024-11-22
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
public class ChargerFinancial extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @Excel(name = "主键")
    private Long finanId;

    /** 预付款 */
    @Excel(name = "预付款")
    private Double prePay = 0d;

    /** 微信支付 */
    @Excel(name = "微信支付")
    private Double wechatPay = 0d;

    /** 支付宝支付 */
    @Excel(name = "支付宝支付")
    private Double aliPay = 0d;

    /** 系统账户支付 */
    @Excel(name = "系统账户支付")
    private Double sysPay = 0d;

    /** 点卡支付 */
    @Excel(name = "点卡支付")
    private Double cardPay = 0d;

    /** 合计支付 */
    @Excel(name = "合计支付")
    private Double allPay = 0d;

    /** 退款金额 */
    @Excel(name = "退款金额")
    private Double refund = 0d;

    /** 系统账户充值 */
    @Excel(name = "系统账户充值")
    private Double sysRecharge = 0d;

    /** 充电卡充值 */
    @Excel(name = "充电卡充值")
    private Double cardRecharge = 0d;

    /** 账户余额 */
    @Excel(name = "账户余额")
    private Double balance = 0d;

    public void setFinanId(Long finanId) 
    {
        this.finanId = finanId;
    }

    public Long getFinanId() 
    {
        return finanId;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("finanId", getFinanId())
            .append("createTime", getCreateTime())
            .append("prePay", getPrePay())
            .append("wechatPay", getWechatPay())
            .append("aliPay", getAliPay())
            .append("sysPay", getSysPay())
            .append("cardPay", getCardPay())
            .append("allPay", getAllPay())
            .append("refund", getRefund())
            .append("sysRecharge", getSysRecharge())
            .append("cardRecharge", getCardRecharge())
            .append("balance", getBalance())
            .toString();
    }
}
